package com.woniuxy01;

abstract class Ccc{

    public void test01(){

    }

    public abstract void test02();
}

class Ddd extends Ccc{
    @Override
    public void test02() {

    }
}

abstract class Eee extends Ccc{

}

 abstract class Fff extends Eee{
    public abstract void test03();
}

 class Ggg extends Fff{
     @Override
     public void test02() {

     }

     @Override
     public void test03() {

     }
 }


public class Test02 {
    public static void main(String[] args) {
        Ccc ccc=new Ddd();
        ccc=new Ggg();
//        ccc=new Ccc();
    }
}
